package com.gzy.android_douban.data.model;

public class ValidateCodeModel {

   private Integer code;
   private String msg;
   private DataDTO data;

   public Integer getCode() {
      return code;
   }

   public void setCode(Integer code) {
      this.code = code;
   }

   public String getMsg() {
      return msg;
   }

   public void setMsg(String msg) {
      this.msg = msg;
   }

   public DataDTO getData() {
      return data;
   }

   public void setData(DataDTO data) {
      this.data = data;
   }

   public static class DataDTO {
      private String randomCode;
      private String imageUrl;

      public String getRandomCode() {
         return randomCode;
      }

      public void setRandomCode(String randomCode) {
         this.randomCode = randomCode;
      }

      public String getImageUrl() {
         return imageUrl;
      }

      public void setImageUrl(String imageUrl) {
         this.imageUrl = imageUrl;
      }

      @Override
      public String toString() {
         return "DataDTO{" +
                 "randomCode='" + randomCode + '\'' +
                 ", imageUrl='" + imageUrl + '\'' +
                 '}';
      }
   }

   @Override
   public String toString() {
      return "ValidateCodeModel{" +
              "code=" + code +
              ", msg='" + msg + '\'' +
              ", data=" + data +
              '}';
   }
}
